Skip to content

feat(storage): add resource span attributes for ACO ( App Centric Obs… - #16285

Open
bajajneha27 wants to merge 2 commits into
googleapis:mainfrom
bajajneha27:509338299-async-rewrite
Open

feat(storage): add resource span attributes for ACO ( App Centric Obs…#16285
bajajneha27 wants to merge 2 commits into
googleapis:mainfrom
bajajneha27:509338299-async-rewrite

Conversation

@bajajneha27

Copy link
Copy Markdown
Contributor

…ervability ) for rewrite API in async client

…ervability ) for rewrite API in async client
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Jul 29, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for span enrichment in RewriteObject within the asynchronous connection tracing implementation. It introduces an overload of MakeTracingAsyncRewriterConnection that accepts an OpenTelemetry span, allowing the span to be created and enriched with destination bucket details before being passed to the tracing connection. A unit test has been added to verify that the span is correctly enriched using cached bucket metadata. I have no feedback to provide as the changes are well-implemented and include appropriate test coverage.

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.43590% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.31%. Comparing base (f8a0cac) to head (ae615ff).

Files with missing lines Patch % Lines
.../storage/internal/async/connection_tracing_test.cc 96.55% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16285   +/-   ##
=======================================
  Coverage   92.30%   92.31%           
=======================================
  Files        2223     2223           
  Lines      208086   208121   +35     
=======================================
+ Hits       192074   192117   +43     
+ Misses      16012    16004    -8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bajajneha27
bajajneha27 marked this pull request as ready for review July 29, 2026 10:55
@bajajneha27
bajajneha27 requested review from a team as code owners July 29, 2026 10:55
@bajajneha27

Copy link
Copy Markdown
Contributor Author

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants